package org.yxt.springcloud.entity;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Setter
@Getter
public class Order {
    private long id;
    /**
     * 用户id
     */
    private long userId;
    /**
     * 商品id
     */
    private int productId;
    /**
     * 数量
     */
    private int count;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 订单状态0-创建中1-已完成
     */
    private int status;
}
